package Cn.Sarkar.MMS.DataBaseDefinations.Independent.Permission

import Cn.Sarkar.EntityDream.CoreEngine.RDBMS.Core.Extensions.comment
import Cn.Sarkar.EntityDream.CoreEngine.RDBMS.Core.Extensions.intColumn
import Cn.Sarkar.EntityDream.CoreEngine.RDBMS.Core.Extensions.reference
import Cn.Sarkar.Entities.Common.Table

object Permissions : Table("Permission") {
    override var Comment: String = "ھوقوق باغلانمىلىرى"
    val PermissionGroupID = intColumn("PermissionGroupID") reference PermissionGroups.ID comment "مۇشۇ گورۇپپا ھوقوق"
    val PermissionItemID = intColumn("PermissionItemID") reference PermissionItems.ID comment "مۇشۇ ھوقوق ئىلىمىنتىنى ئۆز ئىچىگە ئالىدۇ"

    override val CATEGORY: Int = 13
}